<?php get_header(); ?>

<?php get_template_part('dry/slideshow'); ?>

<div id="pagewrap">
	<div id="page">
		<div id="content<?php if(fazio_option('layout_sidebar_on_home') == 'off') : ?> fullwidth<?php endif; ?>">

			<?php if ( have_posts() ) : ?>
				<?php while ( have_posts() ) : the_post(); ?>
					<?php get_template_part('dry/post'); ?>
				<?php endwhile; ?>

			<?php pagination(); ?>

			<?php else : ?>

				<p><?php get_template_part('dry/404'); ?></p>

			<?php endif; ?>

		</div><!-- end content -->
		<?php if(fazio_option('layout_sidebar_on_home') == 'on') : get_sidebar(); endif; ?>
	</div><!-- end page -->
</div><!-- end pagewrap -->

<?php get_footer(); ?>